home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 11 / AMUG BBS in a Box Volume XI (April 1994) (MacWizards).iso / Files / Tele / Internet / NewsWatch.sit / headers / compat.h / compat.h
Encoding:
C/C++ Source or Header  |  1991-04-03  |  825 b   |  47 lines  |  [TEXT/MPS ]

  1. #ifndef _COMPAT_
  2. #define _COMPAT_
  3.  
  4. /* compiler ifdef things */
  5.  
  6. #ifdef THINK_C
  7.  
  8. #ifndef nil
  9. #define    nil                    0L
  10. #endif
  11.  
  12. #define CR                    '\r'
  13. #define LF                    '\n'
  14. #define    CRSTR                "\r"
  15. #define    LFSTR                "\n"
  16. #define CRLF                "\r\n"
  17. #define QDARROW                arrow
  18. #define QDTHEPORT            thePort
  19. #define QDSCREENBITS        screenBits
  20. #define    QDBLACK                black
  21. #define QDDKGRAY            dkGray
  22. #define    okButton            ok
  23. #define cancelButton        cancel
  24. #define    c2pstr                CtoPstr
  25. #define    p2cstr                PtoCstr
  26.  
  27. #else
  28.  
  29. #define PROTOS
  30.  
  31. #define CR                    '\n'
  32. #define LF                    '\r'
  33. #define    CRSTR                "\n"
  34. #define    LFSTR                "\r"
  35. #define CRLF                "\n\r"
  36. #define QDARROW                qd.arrow
  37. #define QDTHEPORT            qd.thePort
  38. #define QDSCREENBITS        qd.screenBits
  39. #define    QDBLACK                qd.black
  40. #define QDDKGRAY            qd.dkGray
  41. #define    okButton            ok
  42. #define cancelButton        cancel
  43.  
  44. #endif
  45.  
  46. #endif _COMPAT_
  47.